package com.lanjiyin.cloud.api.entity;

import java.io.Serializable;
import javax.persistence.*;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 西医综合解锁表
 * 
 * @author tudaojun
 * @email 1208386700@qq.com
 * @date 2021-07-23 09:58:14
 */
@ApiModel(value = "综合解锁表")
@Data
@Table(name = "ljy_xueshuo_unlock")
public class Unlock implements Serializable {
	private static final long serialVersionUID = 1L;
	
	   
    @ApiModelProperty(value = "")
    @Id
    @GeneratedValue(generator = "JDBC")
    private Integer id;
    
			    
    @ApiModelProperty(value = "用户id")
    @Column(name = "user_id")
    private Integer user_id;
				    
    @ApiModelProperty(value = "分享的学科id")
    @Column(name = "chapter_id")
    private Integer chapter_id;
				    
    @ApiModelProperty(value = "年份")
    @Column(name = "year")
    private Integer year;
				    
    @ApiModelProperty(value = "分享次数")
    @Column(name = "count")
    private Integer count;
				    
    @ApiModelProperty(value = "分享类型( 1 微信 2 QQ 好友 3 新浪微博 4.QQ群)")
    @Column(name = "type")
    private Integer type;
				    
    @ApiModelProperty(value = "分享时间")
    @Column(name = "ctime")
    private Integer ctime;
		
}
